/*
   丢弃物品
*/

inherit "inherit/object"

number main(object me,string arg){

   object* obs  = allInventory(me);
   string s;
   obs = allInventory(me);

     if( sizeof(obs) <= 0  ){
           tellObject(me,"你身上什么也有。");
           return 1;
      }
    foreach( ob in obs ){
        if( arg in ob.query("ids") ){
            ob.move( environment(me) );
            tellObject(me,fmt("你扔掉了%s。",ob.query("name")));
        }
    }
   return 1;

}

